package com.sdut.encryption.pojo;

import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Alias("User")
public class User {
    //主键
    private Long rowId;
    //名字
    private String userName;
    //登录账号
    private String userCode;
    //密码
    private String userPass;
    //邮箱
    private String userEmail;
    //电话
    private String userPhone;
    //生日
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date managerBirth;

    public Long getRowId() {
        return rowId;
    }

    public void setRowId(Long rowId) {
        this.rowId = rowId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Date getManagerBirth() {
        return managerBirth;
    }

    public void setManagerBirth(Date managerBirth) {
        this.managerBirth = managerBirth;
    }
}
